package com.server.mapper;

import com.server.entity.UserCode;
import com.server.example.UserCodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserCodeMapper {
    long countByExample(UserCodeExample example);

    int deleteByExample(UserCodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserCode record);

    int insertSelective(UserCode record);

    List<UserCode> selectByExample(UserCodeExample example);

    UserCode selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserCode record, @Param("example") UserCodeExample example);

    int updateByExample(@Param("record") UserCode record, @Param("example") UserCodeExample example);

    int updateByPrimaryKeySelective(UserCode record);

    int updateByPrimaryKey(UserCode record);
}